package br.com.condominio.controller;

import java.sql.SQLException;

import br.com.condominio.model.dao.LoginDAO;
import br.com.condominio.view.vo.LoginVO;

public class LoginController {

	private LoginDAO dao;

	public LoginController() throws ClassNotFoundException, SQLException {
		this.dao = new LoginDAO();
	}

	public boolean validaLogin(LoginVO login) throws SQLException,
			ClassNotFoundException {
		return (dao.validaLogin(login));
	}
}
